package messenger;

import java.net.Socket;

public class GenericClient {
    private Socket clientSocket;
        
    public GenericClient(String host,int port){
        try{
            clientSocket = new Socket(host,port);
        }catch(Exception e){e.printStackTrace();}
        new ChatConnection(clientSocket);        
    }

    public Socket getClientSocket() {
        return clientSocket;
    }
}
